<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Irrlicht 3D Engine: irr::core::CMatrix4&lt; T &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Irrlicht 3D Engine
   
   </div>
   
  </td>
  
  
  
   
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
   
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classirr_1_1core_1_1_c_matrix4.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">irr::core::CMatrix4&lt; T &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::core::CMatrix4" -->
<p>4x4 matrix. Mostly used as transformation matrix for 3d calculations.  
 <a href="classirr_1_1core_1_1_c_matrix4.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="matrix4_8h_source.html">matrix4.h</a>&gt;</code></p>

<p><a href="classirr_1_1core_1_1_c_matrix4-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">eConstructor</a> { <br/>
&#160;&#160;<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fea3566901f796f109f56c30a682ec132b3">EM4CONST_NOTHING</a> =  0, 
<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4feab61ca9be4d8fcd46a77ea3a3f6112c28">EM4CONST_COPY</a>, 
<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4feabe4fda38ad4e2e186bd0b12e776ad71f">EM4CONST_IDENTITY</a>, 
<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fea6d05daa023ea476dea59533ce3d07d23">EM4CONST_TRANSPOSED</a>, 
<br/>
&#160;&#160;<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fea4d69cdac3d8daf867fcaa1ec889f2c09">EM4CONST_INVERSE</a>, 
<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4feadff480a8b2060068f8c0971dcb8c9e6b">EM4CONST_INVERSE_TRANSPOSED</a>
<br/>
 }
<dl class="el"><dd class="mdescRight">Constructor Flags.  <a href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">More...</a><br/></dl></ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html#af771bfde63cdaa3baa4d9f6121e56411">CMatrix4</a> (<a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">eConstructor</a> constructor=EM4CONST_IDENTITY)
<dl class="el"><dd class="mdescRight">Default constructor.  <a href="#af771bfde63cdaa3baa4d9f6121e56411"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html#acdb7afc2248d97a7e882cd1bdeed07b7">CMatrix4</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other, <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">eConstructor</a> constructor=EM4CONST_COPY)
<dl class="el"><dd class="mdescRight">Copy constructor.  <a href="#acdb7afc2248d97a7e882cd1bdeed07b7"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ad2dc80f2aed15900839389cf52f9e798">buildAxisAlignedBillboard</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;camPos, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;center, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;translation, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;axis, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;from)
<dl class="el"><dd class="mdescRight">Builds a matrix which rotates a source vector to a look vector over an arbitrary axis.  <a href="#ad2dc80f2aed15900839389cf52f9e798"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a78e15297c806006898df58498755ecd4">buildCameraLookAtMatrixLH</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;position, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;target, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;upVector)
<dl class="el"><dd class="mdescRight">Builds a left-handed look-at matrix.  <a href="#a78e15297c806006898df58498755ecd4"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a62ebd6002a5018c1096ac368f6be271a">buildCameraLookAtMatrixRH</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;position, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;target, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;upVector)
<dl class="el"><dd class="mdescRight">Builds a right-handed look-at matrix.  <a href="#a62ebd6002a5018c1096ac368f6be271a"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a88a7d2f56d4ce637823379de308f673a">buildNDCToDCMatrix</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;area, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zScale)
<dl class="el"><dd class="mdescRight">Builds a matrix which transforms a normalized Device Coordinate to Device Coordinates.  <a href="#a88a7d2f56d4ce637823379de308f673a"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ae4a0618e2da724a26a5d8a201a63d8a5">buildProjectionMatrixOrthoLH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> widthOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> heightOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a left-handed orthogonal projection matrix.  <a href="#ae4a0618e2da724a26a5d8a201a63d8a5"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ae7a837a3b2d86bfc830d25c6144b7a46">buildProjectionMatrixOrthoRH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> widthOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> heightOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a right-handed orthogonal projection matrix.  <a href="#ae7a837a3b2d86bfc830d25c6144b7a46"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a3e4c3f6c545dd522f9f09177259f2f18">buildProjectionMatrixPerspectiveFovInfinityLH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> fieldOfViewRadians, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> aspectRatio, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> epsilon=0)
<dl class="el"><dd class="mdescRight">Builds a left-handed perspective projection matrix based on a field of view, with far plane at infinity.  <a href="#a3e4c3f6c545dd522f9f09177259f2f18"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a1895b967a8f8c9d7ad90fe5434f2499f">buildProjectionMatrixPerspectiveFovLH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> fieldOfViewRadians, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> aspectRatio, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a left-handed perspective projection matrix based on a field of view.  <a href="#a1895b967a8f8c9d7ad90fe5434f2499f"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a5bea6c6f5479720841cea61651e35879">buildProjectionMatrixPerspectiveFovRH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> fieldOfViewRadians, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> aspectRatio, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a right-handed perspective projection matrix based on a field of view.  <a href="#a5bea6c6f5479720841cea61651e35879"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8306f02451b06f8e6710f23631654086">buildProjectionMatrixPerspectiveLH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> widthOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> heightOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a left-handed perspective projection matrix.  <a href="#a8306f02451b06f8e6710f23631654086"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a649a29922f622503399bcb16c97b78b4">buildProjectionMatrixPerspectiveRH</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> widthOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> heightOfViewVolume, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zNear, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> zFar)
<dl class="el"><dd class="mdescRight">Builds a right-handed perspective projection matrix.  <a href="#a649a29922f622503399bcb16c97b78b4"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a4802c6a89ad813e2919f68f512fb320f">buildRotateFromTo</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;from, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;to)
<dl class="el"><dd class="mdescRight">Builds a matrix that rotates from one vector to another.  <a href="#a4802c6a89ad813e2919f68f512fb320f"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a583d0ece1d80f69101660e1cbe441768">buildShadowMatrix</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;light, <a class="el" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">core::plane3df</a> plane, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> point=1.0f)
<dl class="el"><dd class="mdescRight">Builds a matrix that flattens geometry into a plane.  <a href="#a583d0ece1d80f69101660e1cbe441768"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#afc72faaf2c883d9c0fdc1e0940d1acde">buildTextureTransform</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> rotateRad, const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;rotatecenter, const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;translate, const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;scale)
<dl class="el"><dd class="mdescRight">Set to a texture transformation matrix with the given parameters.  <a href="#afc72faaf2c883d9c0fdc1e0940d1acde"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a5342bc1ac46e8bf7e287f1d58ec702c2">equals</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::CMatrix4</a>&lt; T &gt; &amp;other, const T tolerance=(T) <a class="el" href="namespaceirr_1_1core.html#a7b314c22d6804639cbcbce5231724f0b">ROUNDING_ERROR_f64</a>) const 
<dl class="el"><dd class="mdescRight">Compare two matrices using the equal method.  <a href="#a5342bc1ac46e8bf7e287f1d58ec702c2"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ab91cb550bdacbc7b79a47d5b4ee5f4fa">getDefinitelyIdentityMatrix</a> () const 
<dl class="el"><dd class="mdescRight">Gets if the matrix is definitely identity matrix.  <a href="#ab91cb550bdacbc7b79a47d5b4ee5f4fa"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a33c110cd75fdddb840a990ab52f10900">getInverse</a> (<a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;out) const 
<dl class="el"><dd class="mdescRight">Gets the inversed matrix of this one.  <a href="#a33c110cd75fdddb840a990ab52f10900"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#af8c024c494998296fc7ed63603d7cb62">getInversePrimitive</a> (<a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;out) const 
<dl class="el"><dd class="mdescRight">Inverts a primitive matrix which only contains a translation and a rotation.  <a href="#af8c024c494998296fc7ed63603d7cb62"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aa348817a724b49816da5c181ba672e1d">getRotationDegrees</a> () const 
<dl class="el"><dd class="mdescRight">Returns the rotation, as set by setRotation().  <a href="#aa348817a724b49816da5c181ba672e1d"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aa29f46680cea92b6d38886d1e9759cdd">getScale</a> () const 
<dl class="el"><dd class="mdescRight">Get Scale.  <a href="#aa29f46680cea92b6d38886d1e9759cdd"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aec84b278e87611352b75298238e54006">getTranslation</a> () const 
<dl class="el"><dd class="mdescRight">Gets the current translation.  <a href="#aec84b278e87611352b75298238e54006"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a83e8a629180ab12262d2e2cf52c7991b">getTransposed</a> () const 
<dl class="el"><dd class="mdescRight">Gets transposed matrix.  <a href="#a83e8a629180ab12262d2e2cf52c7991b"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#abc4f641ad798591424020e38efe21636">getTransposed</a> (<a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;dest) const 
<dl class="el"><dd class="mdescRight">Gets transposed matrix.  <a href="#abc4f641ad798591424020e38efe21636"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a0c9ed4a87ab8a1340e075490cd9de309">interpolate</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::CMatrix4</a>&lt; T &gt; &amp;b, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> time) const 
<dl class="el"><dd class="mdescRight">Creates a new matrix as interpolated matrix from two other ones.  <a href="#a0c9ed4a87ab8a1340e075490cd9de309"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7996bee0d3056d6647dc9cc840ed0ad8">inverseRotateVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;vect) const 
<dl class="el"><dd class="mdescRight">Rotate a vector by the inverse of the rotation part of this matrix.  <a href="#a7996bee0d3056d6647dc9cc840ed0ad8"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a83bf069639e0538f047041ae51042907">inverseTranslateVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;vect) const 
<dl class="el"><dd class="mdescRight">Translate a vector by the inverse of the translation part of this matrix.  <a href="#a83bf069639e0538f047041ae51042907"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a24e7bc5d302f6c0cb11bad0771a40826">isIdentity</a> () const 
<dl class="el"><dd class="mdescRight">Returns true if the matrix is the identity matrix.  <a href="#a24e7bc5d302f6c0cb11bad0771a40826"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ab4b515a697bb3749a8e1dd9fc31342bd">isIdentity_integer_base</a> () const 
<dl class="el"><dd class="mdescRight">Returns true if the matrix is the identity matrix.  <a href="#ab4b515a697bb3749a8e1dd9fc31342bd"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#afc4fe0bdfb771b15eff91264c0ed37f9">isOrthogonal</a> () const 
<dl class="el"><dd class="mdescRight">Returns true if the matrix is orthogonal.  <a href="#afc4fe0bdfb771b15eff91264c0ed37f9"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a45f876ed1aed2c3c98b87fee6d938604">makeIdentity</a> ()
<dl class="el"><dd class="mdescRight">Set matrix to identity.  <a href="#a45f876ed1aed2c3c98b87fee6d938604"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a3fbface2cb6b959af64f82a5bb17540e">makeInverse</a> ()
<dl class="el"><dd class="mdescRight">Calculates inverse of matrix. Slow.  <a href="#a3fbface2cb6b959af64f82a5bb17540e"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a1e1f04cdf57dc76be2875427498a0d62">multiplyWith1x4Matrix</a> (T *matrix) const 
<dl class="el"><dd class="mdescRight">Multiplies this matrix by a 1x4 matrix.  <a href="#a1e1f04cdf57dc76be2875427498a0d62"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a99b4c127f31033b5f7314b98164b99ed">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other) const 
<dl class="el"><dd class="mdescRight">Returns true if other matrix is not equal to this matrix.  <a href="#a99b4c127f31033b5f7314b98164b99ed"></a><br/></dl><li>T &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aaede6824ed3ee05b928815d52e1834d1">operator()</a> (const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> row, const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> col)
<dl class="el"><dd class="mdescRight">Simple operator for directly accessing every element of the matrix.  <a href="#aaede6824ed3ee05b928815d52e1834d1"></a><br/></dl><li>const T &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a370e3a1ed88e95011125d09943b50e3b">operator()</a> (const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> row, const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> col) const 
<dl class="el"><dd class="mdescRight">Simple operator for directly accessing every element of the matrix.  <a href="#a370e3a1ed88e95011125d09943b50e3b"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a4173ab9beecf99940ba2eb01081f1613">operator*</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other) const 
<dl class="el"><dd class="mdescRight">Multiply by another matrix.  <a href="#a4173ab9beecf99940ba2eb01081f1613"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a2695d5d90aa8cf55e06649fc83752466">operator*</a> (const T &amp;scalar) const 
<dl class="el"><dd class="mdescRight">Multiply by scalar.  <a href="#a2695d5d90aa8cf55e06649fc83752466"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac3d29f86c91d9d095ab155ecb8870f87">operator*=</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other)
<dl class="el"><dd class="mdescRight">Multiply by another matrix.  <a href="#ac3d29f86c91d9d095ab155ecb8870f87"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ae78879a3d7f0113ba5208d5476c3af9c">operator*=</a> (const T &amp;scalar)
<dl class="el"><dd class="mdescRight">Multiply by scalar.  <a href="#ae78879a3d7f0113ba5208d5476c3af9c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac2192a7d9dd89dcd23fe2f9ded3252bf">operator+</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other) const 
<dl class="el"><dd class="mdescRight">Add another matrix.  <a href="#ac2192a7d9dd89dcd23fe2f9ded3252bf"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#af91c5be0562ce4be3f8feedd3d017ba1">operator+=</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other)
<dl class="el"><dd class="mdescRight">Add another matrix.  <a href="#af91c5be0562ce4be3f8feedd3d017ba1"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aee45563e7f9fdf3d4ef7f5a9d63d87c0">operator-</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other) const 
<dl class="el"><dd class="mdescRight">Subtract another matrix.  <a href="#aee45563e7f9fdf3d4ef7f5a9d63d87c0"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a24eb7faa1418765ba87d3f02f27d643f">operator-=</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other)
<dl class="el"><dd class="mdescRight">Subtract another matrix.  <a href="#a24eb7faa1418765ba87d3f02f27d643f"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a47571eb3acae9a6aa330a03edcea7896">operator=</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other)
<dl class="el"><dd class="mdescRight">Sets this matrix equal to the other matrix.  <a href="#a47571eb3acae9a6aa330a03edcea7896"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aa77c0ec30f4e42f7281392440898e9e3">operator=</a> (const T &amp;scalar)
<dl class="el"><dd class="mdescRight">Sets all elements of this matrix to the value.  <a href="#aa77c0ec30f4e42f7281392440898e9e3"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a81029252a2a83ef4647f5d8a02cf62b5">operator==</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other) const 
<dl class="el"><dd class="mdescRight">Returns true if other matrix is equal to this matrix.  <a href="#a81029252a2a83ef4647f5d8a02cf62b5"></a><br/></dl><li>T &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aead4909f8bb2ab40875af175caf0085f">operator[]</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)
<dl class="el"><dd class="mdescRight">Simple operator for linearly accessing every element of the matrix.  <a href="#aead4909f8bb2ab40875af175caf0085f"></a><br/></dl><li>const T &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a1c7a81521e81280c31b8ae3397d1fffe">operator[]</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index) const 
<dl class="el"><dd class="mdescRight">Simple operator for linearly accessing every element of the matrix.  <a href="#a1c7a81521e81280c31b8ae3397d1fffe"></a><br/></dl><li>const T * <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a11a3ffa3eb0987030e7a8758dee8965a">pointer</a> () const 
<dl class="el"><dd class="mdescRight">Returns pointer to internal array.  <a href="#a11a3ffa3eb0987030e7a8758dee8965a"></a><br/></dl><li>T * <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a2d9b231425d1b8abddb9e1e997fbf2ea">pointer</a> ()
<li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8abcfbf972b19946c3022db380c6d153">rotateVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;vect) const 
<dl class="el"><dd class="mdescRight">Rotate a vector by the rotation part of this matrix.  <a href="#a8abcfbf972b19946c3022db380c6d153"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a592d57581118b651a24dc68b17b99ff6">rotateVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;out, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;in) const 
<dl class="el"><dd class="mdescRight">An alternate transform vector method, writing into a second vector.  <a href="#a592d57581118b651a24dc68b17b99ff6"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aa188488f489118e4daafd3b2ebab5119">rotateVect</a> (T *out, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;in) const 
<dl class="el"><dd class="mdescRight">An alternate transform vector method, writing into an array of 3 floats.  <a href="#aa188488f489118e4daafd3b2ebab5119"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8503c58913ba9407ba00b173d8a3e25c">setbyproduct</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other_a, const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other_b)
<dl class="el"><dd class="mdescRight">set this matrix to the product of two matrices  <a href="#a8503c58913ba9407ba00b173d8a3e25c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a526a2a11dcd8b18c9e77deb84094778d">setbyproduct_nocheck</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other_a, const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;other_b)
<dl class="el"><dd class="mdescRight">Set this matrix to the product of two matrices.  <a href="#a526a2a11dcd8b18c9e77deb84094778d"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a87f7195337a2bf7a49978c2ec1100c0a">setDefinitelyIdentityMatrix</a> (bool isDefinitelyIdentityMatrix)
<dl class="el"><dd class="mdescRight">Sets if the matrix is definitely identity matrix.  <a href="#a87f7195337a2bf7a49978c2ec1100c0a"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#afd84b9c93b4c8e9dc2abefa4a28057f9">setInverseRotationDegrees</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;rotation)
<dl class="el"><dd class="mdescRight">Make an inverted rotation matrix from Euler angles.  <a href="#afd84b9c93b4c8e9dc2abefa4a28057f9"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a1a15d7b55769678512144f0fb7e15a92">setInverseRotationRadians</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;rotation)
<dl class="el"><dd class="mdescRight">Make an inverted rotation matrix from Euler angles.  <a href="#a1a15d7b55769678512144f0fb7e15a92"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a258e103fcb6ce1564978624280ecb7fe">setInverseTranslation</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;translation)
<dl class="el"><dd class="mdescRight">Set the inverse translation of the current matrix. Will erase any previous values.  <a href="#a258e103fcb6ce1564978624280ecb7fe"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ae59fb2248865eba3026d13b9756ba1e1">setM</a> (const T *data)
<dl class="el"><dd class="mdescRight">Sets all matrix data members at once.  <a href="#ae59fb2248865eba3026d13b9756ba1e1"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a2fad61540e78fc7dafe7f6270b0558ac">setRotationAxisRadians</a> (const T &amp;angle, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;axis)
<dl class="el"><dd class="mdescRight">Make a rotation matrix from angle and axis, assuming left handed rotation.  <a href="#a2fad61540e78fc7dafe7f6270b0558ac"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8117628146ce654b3b292af7c49e25e2">setRotationCenter</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;center, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;translate)
<dl class="el"><dd class="mdescRight">Builds a combined matrix which translates to a center before rotation and translates from origin afterwards.  <a href="#a8117628146ce654b3b292af7c49e25e2"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8ee5ef8619d4b0f56d72ac84495ed644">setRotationDegrees</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;rotation)
<dl class="el"><dd class="mdescRight">Make a rotation matrix from Euler angles. The 4th row and column are unmodified.  <a href="#a8ee5ef8619d4b0f56d72ac84495ed644"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a05aac7bd2e7651369fc813a51258afbe">setRotationRadians</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;rotation)
<dl class="el"><dd class="mdescRight">Make a rotation matrix from Euler angles. The 4th row and column are unmodified.  <a href="#a05aac7bd2e7651369fc813a51258afbe"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a47117d44419af87e70084c01ab852049">setScale</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;scale)
<dl class="el"><dd class="mdescRight">Set Scale.  <a href="#a47117d44419af87e70084c01ab852049"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a18af980e2bc3575f60576b6d4b4cc0f3">setScale</a> (const T scale)
<dl class="el"><dd class="mdescRight">Set Scale.  <a href="#a18af980e2bc3575f60576b6d4b4cc0f3"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a445a7653292ae4ffb0baa50032a8674e">setTextureRotationCenter</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radAngle)
<dl class="el"><dd class="mdescRight">Set texture transformation rotation.  <a href="#a445a7653292ae4ffb0baa50032a8674e"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aed32a7a8da9c4cee5babe8f6b4aa7dd4">setTextureScale</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> sx, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> sy)
<dl class="el"><dd class="mdescRight">Set texture transformation scale.  <a href="#aed32a7a8da9c4cee5babe8f6b4aa7dd4"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#adbd668867d117dc9331e68abef0af221">setTextureScaleCenter</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> sx, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> sy)
<dl class="el"><dd class="mdescRight">Set texture transformation scale, and recenter at (0.5,0.5)  <a href="#adbd668867d117dc9331e68abef0af221"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a2bab9633697a892f08d89c7aeee6daf6">setTextureTranslate</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> x, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> y)
<dl class="el"><dd class="mdescRight">Set texture transformation translation.  <a href="#a2bab9633697a892f08d89c7aeee6daf6"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7d999210cc7427e9d744271e50d26c3c">setTextureTranslateTransposed</a> (<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> x, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> y)
<dl class="el"><dd class="mdescRight">Set texture transformation translation, using a transposed representation.  <a href="#a7d999210cc7427e9d744271e50d26c3c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac04a3b341cbfbb7986be682691655622">setTranslation</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;translation)
<dl class="el"><dd class="mdescRight">Set the translation of the current matrix. Will erase any previous values.  <a href="#ac04a3b341cbfbb7986be682691655622"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac12468d698fbf6cd545e8b3fbf2a0042">transformBox</a> (<a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;box) const 
<dl class="el"><dd class="mdescRight">Transforms a axis aligned bounding box.  <a href="#ac12468d698fbf6cd545e8b3fbf2a0042"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a87451aea9c07b71d1a8b6091b8cefa63">transformBoxEx</a> (<a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;box) const 
<dl class="el"><dd class="mdescRight">Transforms a axis aligned bounding box.  <a href="#a87451aea9c07b71d1a8b6091b8cefa63"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac4f0d4156d573d8b73eb51dce76e094e">transformPlane</a> (<a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;plane) const 
<dl class="el"><dd class="mdescRight">Transforms a plane by this matrix.  <a href="#ac4f0d4156d573d8b73eb51dce76e094e"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a949042276c2025189cc568c8080d7579">transformPlane</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;in, <a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;out) const 
<dl class="el"><dd class="mdescRight">Transforms a plane by this matrix.  <a href="#a949042276c2025189cc568c8080d7579"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a82b910d8a4116a7455167dfa62fc4d72">transformVec3</a> (T *out, const T *in) const 
<dl class="el"><dd class="mdescRight">An alternate transform vector method, reading from and writing to an array of 3 floats.  <a href="#a82b910d8a4116a7455167dfa62fc4d72"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aa6bb8b39114749d70e51bd1b90bce0a1">transformVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;vect) const 
<dl class="el"><dd class="mdescRight">Transforms the vector by this matrix.  <a href="#aa6bb8b39114749d70e51bd1b90bce0a1"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7f630ed6811ab36921c2fe6f63f7f426">transformVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;out, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;in) const 
<dl class="el"><dd class="mdescRight">Transforms input vector by this matrix and stores result in output vector.  <a href="#a7f630ed6811ab36921c2fe6f63f7f426"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#aad3d6e0c59e2d5709a534abc2b86dbd3">transformVect</a> (T *out, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;in) const 
<dl class="el"><dd class="mdescRight">An alternate transform vector method, writing into an array of 4 floats.  <a href="#aad3d6e0c59e2d5709a534abc2b86dbd3"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a587cb77fd7de7a13771c96a90c4f3de0">translateVect</a> (<a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;vect) const 
<dl class="el"><dd class="mdescRight">Translate a vector by the translation part of this matrix.  <a href="#a587cb77fd7de7a13771c96a90c4f3de0"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br/>
class irr::core::CMatrix4&lt; T &gt;</h3>

<p>4x4 matrix. Mostly used as transformation matrix for 3d calculations. </p>
<p>The matrix is a D3D style matrix, row major with translations in the 4th row. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00045">45</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a7bb79712227617f706ed57a34f3eb4fe"></a><!-- doxytag: member="irr::core::CMatrix4::eConstructor" ref="a7bb79712227617f706ed57a34f3eb4fe" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">irr::core::CMatrix4::eConstructor</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor Flags. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4fea3566901f796f109f56c30a682ec132b3"></a><!-- doxytag: member="EM4CONST_NOTHING" ref="a7bb79712227617f706ed57a34f3eb4fea3566901f796f109f56c30a682ec132b3" args="" -->EM4CONST_NOTHING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4feab61ca9be4d8fcd46a77ea3a3f6112c28"></a><!-- doxytag: member="EM4CONST_COPY" ref="a7bb79712227617f706ed57a34f3eb4feab61ca9be4d8fcd46a77ea3a3f6112c28" args="" -->EM4CONST_COPY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4feabe4fda38ad4e2e186bd0b12e776ad71f"></a><!-- doxytag: member="EM4CONST_IDENTITY" ref="a7bb79712227617f706ed57a34f3eb4feabe4fda38ad4e2e186bd0b12e776ad71f" args="" -->EM4CONST_IDENTITY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4fea6d05daa023ea476dea59533ce3d07d23"></a><!-- doxytag: member="EM4CONST_TRANSPOSED" ref="a7bb79712227617f706ed57a34f3eb4fea6d05daa023ea476dea59533ce3d07d23" args="" -->EM4CONST_TRANSPOSED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4fea4d69cdac3d8daf867fcaa1ec889f2c09"></a><!-- doxytag: member="EM4CONST_INVERSE" ref="a7bb79712227617f706ed57a34f3eb4fea4d69cdac3d8daf867fcaa1ec889f2c09" args="" -->EM4CONST_INVERSE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7bb79712227617f706ed57a34f3eb4feadff480a8b2060068f8c0971dcb8c9e6b"></a><!-- doxytag: member="EM4CONST_INVERSE_TRANSPOSED" ref="a7bb79712227617f706ed57a34f3eb4feadff480a8b2060068f8c0971dcb8c9e6b" args="" -->EM4CONST_INVERSE_TRANSPOSED</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00050">50</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af771bfde63cdaa3baa4d9f6121e56411"></a><!-- doxytag: member="irr::core::CMatrix4::CMatrix4" ref="af771bfde63cdaa3baa4d9f6121e56411" args="(eConstructor constructor=EM4CONST_IDENTITY)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::<a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">eConstructor</a>&#160;</td>
          <td class="paramname"><em>constructor</em> = <code>EM4CONST_IDENTITY</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">constructor</td><td>Choose the initialization style </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00417">417</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="acdb7afc2248d97a7e882cd1bdeed07b7"></a><!-- doxytag: member="irr::core::CMatrix4::CMatrix4" ref="acdb7afc2248d97a7e882cd1bdeed07b7" args="(const CMatrix4&lt; T &gt; &amp;other, eConstructor constructor=EM4CONST_COPY)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::<a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a7bb79712227617f706ed57a34f3eb4fe">eConstructor</a>&#160;</td>
          <td class="paramname"><em>constructor</em> = <code>EM4CONST_COPY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>Other matrix to copy from </td></tr>
    <tr><td class="paramname">constructor</td><td>Choose the initialization style </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00440">440</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="matrix4_8h_source.html#l01307">irr::core::CMatrix4&lt; T &gt;::getInverse()</a>, and <a class="el" href="matrix4_8h_source.html#l01874">irr::core::CMatrix4&lt; T &gt;::getTransposed()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad2dc80f2aed15900839389cf52f9e798"></a><!-- doxytag: member="irr::core::CMatrix4::buildAxisAlignedBillboard" ref="ad2dc80f2aed15900839389cf52f9e798" args="(const core::vector3df &amp;camPos, const core::vector3df &amp;center, const core::vector3df &amp;translation, const core::vector3df &amp;axis, const core::vector3df &amp;from)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildAxisAlignedBillboard </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>camPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>translation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a matrix which rotates a source vector to a look vector over an arbitrary axis. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">camPos,:</td><td>viewer position in world coo </td></tr>
    <tr><td class="paramname">center,:</td><td>object position in world-coo and rotation pivot </td></tr>
    <tr><td class="paramname">translation,:</td><td>object final translation from center </td></tr>
    <tr><td class="paramname">axis,:</td><td>axis to rotate about </td></tr>
    <tr><td class="paramname">from,:</td><td>source vector to rotate from</td></tr>
    <tr><td class="paramname">camPos,:</td><td>viewer position in world coord </td></tr>
    <tr><td class="paramname">center,:</td><td>object position in world-coord, rotation pivot </td></tr>
    <tr><td class="paramname">translation,:</td><td>object final translation from center </td></tr>
    <tr><td class="paramname">axis,:</td><td>axis to rotate about </td></tr>
    <tr><td class="paramname">from,:</td><td>source vector to rotate from </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01990">1990</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d&lt; T &gt;::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d&lt; T &gt;::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d&lt; T &gt;::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a78e15297c806006898df58498755ecd4"></a><!-- doxytag: member="irr::core::CMatrix4::buildCameraLookAtMatrixLH" ref="a78e15297c806006898df58498755ecd4" args="(const vector3df &amp;position, const vector3df &amp;target, const vector3df &amp;upVector)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildCameraLookAtMatrixLH </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>upVector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a left-handed look-at matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01775">1775</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d&lt; T &gt;::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d&lt; T &gt;::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d&lt; T &gt;::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a62ebd6002a5018c1096ac368f6be271a"></a><!-- doxytag: member="irr::core::CMatrix4::buildCameraLookAtMatrixRH" ref="a62ebd6002a5018c1096ac368f6be271a" args="(const vector3df &amp;position, const vector3df &amp;target, const vector3df &amp;upVector)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildCameraLookAtMatrixRH </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>upVector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a right-handed look-at matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01816">1816</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d&lt; T &gt;::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d&lt; T &gt;::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d&lt; T &gt;::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a88a7d2f56d4ce637823379de308f673a"></a><!-- doxytag: member="irr::core::CMatrix4::buildNDCToDCMatrix" ref="a88a7d2f56d4ce637823379de308f673a" args="(const core::rect&lt; s32 &gt; &amp;area, f32 zScale)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildNDCToDCMatrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>area</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zScale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a matrix which transforms a normalized Device Coordinate to Device Coordinates. </p>
<p>Used to scale &lt;-1,-1&gt;&lt;1,1&gt; to viewport, for example from &lt;-1,-1&gt; &lt;1,1&gt; to the viewport &lt;0,0&gt;&lt;0,640&gt; </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01913">1913</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="rect_8h_source.html#l00190">irr::core::rect&lt; T &gt;::getHeight()</a>, <a class="el" href="rect_8h_source.html#l00184">irr::core::rect&lt; T &gt;::getWidth()</a>, <a class="el" href="rect_8h_source.html#l00267">irr::core::rect&lt; T &gt;::LowerRightCorner</a>, and <a class="el" href="rect_8h_source.html#l00265">irr::core::rect&lt; T &gt;::UpperLeftCorner</a>.</p>

</div>
</div>
<a class="anchor" id="ae4a0618e2da724a26a5d8a201a63d8a5"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixOrthoLH" ref="ae4a0618e2da724a26a5d8a201a63d8a5" args="(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixOrthoLH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>widthOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>heightOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a left-handed orthogonal projection matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01604">1604</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>.</p>

</div>
</div>
<a class="anchor" id="ae7a837a3b2d86bfc830d25c6144b7a46"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixOrthoRH" ref="ae7a837a3b2d86bfc830d25c6144b7a46" args="(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixOrthoRH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>widthOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>heightOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a right-handed orthogonal projection matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01639">1639</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>.</p>

</div>
</div>
<a class="anchor" id="a3e4c3f6c545dd522f9f09177259f2f18"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixPerspectiveFovInfinityLH" ref="a3e4c3f6c545dd522f9f09177259f2f18" args="(f32 fieldOfViewRadians, f32 aspectRatio, f32 zNear, f32 epsilon=0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixPerspectiveFovInfinityLH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>fieldOfViewRadians</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>aspectRatio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>epsilon</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a left-handed perspective projection matrix based on a field of view, with far plane at infinity. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01568">1568</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>, and <a class="el" href="irr_math_8h_source.html#l00535">irr::core::reciprocal()</a>.</p>

</div>
</div>
<a class="anchor" id="a1895b967a8f8c9d7ad90fe5434f2499f"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixPerspectiveFovLH" ref="a1895b967a8f8c9d7ad90fe5434f2499f" args="(f32 fieldOfViewRadians, f32 aspectRatio, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixPerspectiveFovLH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>fieldOfViewRadians</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>aspectRatio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a left-handed perspective projection matrix based on a field of view. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01531">1531</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>, and <a class="el" href="irr_math_8h_source.html#l00535">irr::core::reciprocal()</a>.</p>

</div>
</div>
<a class="anchor" id="a5bea6c6f5479720841cea61651e35879"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixPerspectiveFovRH" ref="a5bea6c6f5479720841cea61651e35879" args="(f32 fieldOfViewRadians, f32 aspectRatio, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixPerspectiveFovRH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>fieldOfViewRadians</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>aspectRatio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a right-handed perspective projection matrix based on a field of view. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01492">1492</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>, and <a class="el" href="irr_math_8h_source.html#l00535">irr::core::reciprocal()</a>.</p>

</div>
</div>
<a class="anchor" id="a8306f02451b06f8e6710f23631654086"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixPerspectiveLH" ref="a8306f02451b06f8e6710f23631654086" args="(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixPerspectiveLH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>widthOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>heightOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a left-handed perspective projection matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01709">1709</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>.</p>

</div>
</div>
<a class="anchor" id="a649a29922f622503399bcb16c97b78b4"></a><!-- doxytag: member="irr::core::CMatrix4::buildProjectionMatrixPerspectiveRH" ref="a649a29922f622503399bcb16c97b78b4" args="(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildProjectionMatrixPerspectiveRH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>widthOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>heightOfViewVolume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zNear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>zFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a right-handed perspective projection matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01674">1674</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_types_8h_source.html#l00178">_IRR_DEBUG_BREAK_IF</a>.</p>

</div>
</div>
<a class="anchor" id="a4802c6a89ad813e2919f68f512fb320f"></a><!-- doxytag: member="irr::core::CMatrix4::buildRotateFromTo" ref="a4802c6a89ad813e2919f68f512fb320f" args="(const core::vector3df &amp;from, const core::vector3df &amp;to)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildRotateFromTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a matrix that rotates from one vector to another. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">from,:</td><td>vector to rotate from </td></tr>
    <tr><td class="paramname">to,:</td><td>vector to rotate to</td></tr>
    <tr><td class="paramname">from,:</td><td>vector to rotate from </td></tr>
    <tr><td class="paramname">to,:</td><td>vector to rotate to</td></tr>
  </table>
  </dd>
</dl>
<p><a href="http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToMatrix/index.htm">http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToMatrix/index.htm</a> </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01934">1934</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d&lt; T &gt;::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d&lt; T &gt;::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d&lt; T &gt;::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a583d0ece1d80f69101660e1cbe441768"></a><!-- doxytag: member="irr::core::CMatrix4::buildShadowMatrix" ref="a583d0ece1d80f69101660e1cbe441768" args="(const core::vector3df &amp;light, core::plane3df plane, f32 point=1.0f)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildShadowMatrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>light</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">core::plane3df</a>&#160;</td>
          <td class="paramname"><em>plane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>point</em> = <code>1.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a matrix that flattens geometry into a plane. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">light,:</td><td>light source </td></tr>
    <tr><td class="paramname">plane,:</td><td>plane into which the geometry if flattened into </td></tr>
    <tr><td class="paramname">point,:</td><td>value between 0 and 1, describing the light source. If this is 1, it is a point light, if it is 0, it is a directional light. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01743">1743</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00231">irr::core::plane3d&lt; T &gt;::D</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d&lt; T &gt;::dotProduct()</a>, <a class="el" href="plane3d_8h_source.html#l00228">irr::core::plane3d&lt; T &gt;::Normal</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d&lt; T &gt;::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="afc72faaf2c883d9c0fdc1e0940d1acde"></a><!-- doxytag: member="irr::core::CMatrix4::buildTextureTransform" ref="afc72faaf2c883d9c0fdc1e0940d1acde" args="(f32 rotateRad, const core::vector2df &amp;rotatecenter, const core::vector2df &amp;translate, const core::vector2df &amp;scale)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::buildTextureTransform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>rotateRad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;&#160;</td>
          <td class="paramname"><em>rotatecenter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;&#160;</td>
          <td class="paramname"><em>translate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a2cf08556d77f6f5a792973a6e27ed11b">core::vector2df</a> &amp;&#160;</td>
          <td class="paramname"><em>scale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set to a texture transformation matrix with the given parameters. </p>
<p>Generate texture coordinates as linear functions so that: u = Ux*x + Uy*y + Uz*z + Uw v = Vx*x + Vy*y + Vz*z + Vw The matrix M for this case is: Ux Vx 0 0 Uy Vy 0 0 Uz Vz 0 0 Uw Vw 0 0 </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02065">2065</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector2d_8h_source.html#l00316">irr::core::vector2d&lt; T &gt;::X</a>, and <a class="el" href="vector2d_8h_source.html#l00319">irr::core::vector2d&lt; T &gt;::Y</a>.</p>

</div>
</div>
<a class="anchor" id="a5342bc1ac46e8bf7e287f1d58ec702c2"></a><!-- doxytag: member="irr::core::CMatrix4::equals" ref="a5342bc1ac46e8bf7e287f1d58ec702c2" args="(const core::CMatrix4&lt; T &gt; &amp;other, const T tolerance=(T) ROUNDING_ERROR_f64) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::equals </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>tolerance</em> = <code>(T)<a class="el" href="namespaceirr_1_1core.html#a7b314c22d6804639cbcbce5231724f0b">ROUNDING_ERROR_f64</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compare two matrices using the equal method. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02210">2210</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00185">irr::core::equals()</a>.</p>

</div>
</div>
<a class="anchor" id="ab91cb550bdacbc7b79a47d5b4ee5f4fa"></a><!-- doxytag: member="irr::core::CMatrix4::getDefinitelyIdentityMatrix" ref="ab91cb550bdacbc7b79a47d5b4ee5f4fa" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getDefinitelyIdentityMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets if the matrix is definitely identity matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02198">2198</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a33c110cd75fdddb840a990ab52f10900"></a><!-- doxytag: member="irr::core::CMatrix4::getInverse" ref="a33c110cd75fdddb840a990ab52f10900" args="(CMatrix4&lt; T &gt; &amp;out) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getInverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the inversed matrix of this one. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out,:</td><td>where result matrix is written to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns false if there is no inverse matrix. </dd></dl>
<p>Calculates the inverse of this Matrix The inverse is calculated using Cramers rule. If no inverse exists then 'false' is returned. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01307">1307</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00035">FLT_MIN</a>, <a class="el" href="irr_math_8h_source.html#l00270">irr::core::iszero()</a>, and <a class="el" href="irr_math_8h_source.html#l00535">irr::core::reciprocal()</a>.</p>

<p>Referenced by <a class="el" href="matrix4_8h_source.html#l00440">irr::core::CMatrix4&lt; T &gt;::CMatrix4()</a>.</p>

</div>
</div>
<a class="anchor" id="af8c024c494998296fc7ed63603d7cb62"></a><!-- doxytag: member="irr::core::CMatrix4::getInversePrimitive" ref="af8c024c494998296fc7ed63603d7cb62" args="(CMatrix4&lt; T &gt; &amp;out) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getInversePrimitive </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inverts a primitive matrix which only contains a translation and a rotation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out,:</td><td>where result matrix is written to.</td></tr>
  </table>
  </dd>
</dl>
<p>Inverts a primitive matrix which only contains a translation and a rotation </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out,:</td><td>where result matrix is written to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01393">1393</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa348817a724b49816da5c181ba672e1d"></a><!-- doxytag: member="irr::core::CMatrix4::getRotationDegrees" ref="aa348817a724b49816da5c181ba672e1d" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getRotationDegrees </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the rotation, as set by setRotation(). </p>
<p>Returns a rotation that is equivalent to that set by <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8ee5ef8619d4b0f56d72ac84495ed644" title="Make a rotation matrix from Euler angles. The 4th row and column are unmodified.">setRotationDegrees()</a>.</p>
<p>This code was orginally written by by Chev.</p>
<p>This code was sent in by Chev. Note that it does not necessarily return the *same* Euler angles as those set by <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a8ee5ef8619d4b0f56d72ac84495ed644" title="Make a rotation matrix from Euler angles. The 4th row and column are unmodified.">setRotationDegrees()</a>, but the rotation will be equivalent, i.e. will have the same result when used to rotate a vector or node. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00860">860</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00166">irr::core::clamp()</a>, <a class="el" href="irr_math_8h_source.html#l00270">irr::core::iszero()</a>, <a class="el" href="irr_math_8h_source.html#l00083">irr::core::RADTODEG64</a>, <a class="el" href="irr_math_8h_source.html#l00535">irr::core::reciprocal()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="aa29f46680cea92b6d38886d1e9759cdd"></a><!-- doxytag: member="irr::core::CMatrix4::getScale" ref="aa29f46680cea92b6d38886d1e9759cdd" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getScale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get Scale. </p>
<p>Returns the absolute values of the scales of the matrix.</p>
<p>Note that this returns the absolute (positive) values unless only scale is set. Unfortunately it does not appear to be possible to extract any original negative values. The best that we could do would be to arbitrarily make one scale negative if one or three of them were negative. FIXME - return the original values. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00795">795</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00270">irr::core::iszero()</a>.</p>

</div>
</div>
<a class="anchor" id="aec84b278e87611352b75298238e54006"></a><!-- doxytag: member="irr::core::CMatrix4::getTranslation" ref="aec84b278e87611352b75298238e54006" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getTranslation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the current translation. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00744">744</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>Referenced by <a class="el" href="_i_scene_node_8h_source.html#l00522">irr::scene::ISceneNode::getAbsolutePosition()</a>.</p>

</div>
</div>
<a class="anchor" id="a83e8a629180ab12262d2e2cf52c7991b"></a><!-- doxytag: member="irr::core::CMatrix4::getTransposed" ref="a83e8a629180ab12262d2e2cf52c7991b" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getTransposed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets transposed matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01874">1874</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>Referenced by <a class="el" href="matrix4_8h_source.html#l00440">irr::core::CMatrix4&lt; T &gt;::CMatrix4()</a>.</p>

</div>
</div>
<a class="anchor" id="abc4f641ad798591424020e38efe21636"></a><!-- doxytag: member="irr::core::CMatrix4::getTransposed" ref="abc4f641ad798591424020e38efe21636" args="(CMatrix4&lt; T &gt; &amp;dest) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::getTransposed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>dest</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets transposed matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01884">1884</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0c9ed4a87ab8a1340e075490cd9de309"></a><!-- doxytag: member="irr::core::CMatrix4::interpolate" ref="a0c9ed4a87ab8a1340e075490cd9de309" args="(const core::CMatrix4&lt; T &gt; &amp;b, f32 time) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::interpolate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>time</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new matrix as interpolated matrix from two other ones. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">b,:</td><td>other matrix to interpolate with </td></tr>
    <tr><td class="paramname">time,:</td><td>Must be a value between 0 and 1. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01857">1857</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7996bee0d3056d6647dc9cc840ed0ad8"></a><!-- doxytag: member="irr::core::CMatrix4::inverseRotateVect" ref="a7996bee0d3056d6647dc9cc840ed0ad8" args="(vector3df &amp;vect) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::inverseRotateVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>vect</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rotate a vector by the inverse of the rotation part of this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01128">1128</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a83bf069639e0538f047041ae51042907"></a><!-- doxytag: member="irr::core::CMatrix4::inverseTranslateVect" ref="a83bf069639e0538f047041ae51042907" args="(vector3df &amp;vect) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::inverseTranslateVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>vect</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Translate a vector by the inverse of the translation part of this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01290">1290</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a24e7bc5d302f6c0cb11bad0771a40826"></a><!-- doxytag: member="irr::core::CMatrix4::isIdentity" ref="a24e7bc5d302f6c0cb11bad0771a40826" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::isIdentity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the matrix is the identity matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01000">1000</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00185">irr::core::equals()</a>.</p>

<p>Referenced by <a class="el" href="matrix4_8h_source.html#l00705">irr::core::CMatrix4&lt; T &gt;::operator*()</a>, <a class="el" href="matrix4_8h_source.html#l00626">irr::core::CMatrix4&lt; T &gt;::operator*=()</a>, and <a class="el" href="matrix4_8h_source.html#l00688">irr::core::CMatrix4&lt; T &gt;::setbyproduct()</a>.</p>

</div>
</div>
<a class="anchor" id="ab4b515a697bb3749a8e1dd9fc31342bd"></a><!-- doxytag: member="irr::core::CMatrix4::isIdentity_integer_base" ref="ab4b515a697bb3749a8e1dd9fc31342bd" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::isIdentity_integer_base </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the matrix is the identity matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01067">1067</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00344">F32_VALUE_1</a>, and <a class="el" href="irr_math_8h_source.html#l00353">irr::core::IR()</a>.</p>

</div>
</div>
<a class="anchor" id="afc4fe0bdfb771b15eff91264c0ed37f9"></a><!-- doxytag: member="irr::core::CMatrix4::isOrthogonal" ref="afc4fe0bdfb771b15eff91264c0ed37f9" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::isOrthogonal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the matrix is orthogonal. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01038">1038</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00270">irr::core::iszero()</a>.</p>

</div>
</div>
<a class="anchor" id="a45f876ed1aed2c3c98b87fee6d938604"></a><!-- doxytag: member="irr::core::CMatrix4::makeIdentity" ref="a45f876ed1aed2c3c98b87fee6d938604" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::makeIdentity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set matrix to identity. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00984">984</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3fbface2cb6b959af64f82a5bb17540e"></a><!-- doxytag: member="irr::core::CMatrix4::makeInverse" ref="a3fbface2cb6b959af64f82a5bb17540e" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::makeInverse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calculates inverse of matrix. Slow. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns false if there is no inverse matrix. </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01424">1424</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1e1f04cdf57dc76be2875427498a0d62"></a><!-- doxytag: member="irr::core::CMatrix4::multiplyWith1x4Matrix" ref="a1e1f04cdf57dc76be2875427498a0d62" args="(T *matrix) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::multiplyWith1x4Matrix </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiplies this matrix by a 1x4 matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01268">1268</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a99b4c127f31033b5f7314b98164b99ed"></a><!-- doxytag: member="irr::core::CMatrix4::operator!=" ref="a99b4c127f31033b5f7314b98164b99ed" args="(const CMatrix4&lt; T &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if other matrix is not equal to this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01484">1484</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaede6824ed3ee05b928815d52e1834d1"></a><!-- doxytag: member="irr::core::CMatrix4::operator()" ref="aaede6824ed3ee05b928815d52e1834d1" args="(const s32 row, const s32 col)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Simple operator for directly accessing every element of the matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00069">69</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a370e3a1ed88e95011125d09943b50e3b"></a><!-- doxytag: member="irr::core::CMatrix4::operator()" ref="a370e3a1ed88e95011125d09943b50e3b" args="(const s32 row, const s32 col) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T&amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Simple operator for directly accessing every element of the matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00078">78</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4173ab9beecf99940ba2eb01081f1613"></a><!-- doxytag: member="irr::core::CMatrix4::operator*" ref="a4173ab9beecf99940ba2eb01081f1613" args="(const CMatrix4&lt; T &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiply by another matrix. </p>
<p>multiply by another matrix</p>
<p>Calculate other*this </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00705">705</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="matrix4_8h_source.html#l01000">irr::core::CMatrix4&lt; T &gt;::isIdentity()</a>.</p>

</div>
</div>
<a class="anchor" id="a2695d5d90aa8cf55e06649fc83752466"></a><!-- doxytag: member="irr::core::CMatrix4::operator*" ref="a2695d5d90aa8cf55e06649fc83752466" args="(const T &amp;scalar) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>scalar</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiply by scalar. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00576">576</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac3d29f86c91d9d095ab155ecb8870f87"></a><!-- doxytag: member="irr::core::CMatrix4::operator*=" ref="ac3d29f86c91d9d095ab155ecb8870f87" args="(const CMatrix4&lt; T &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiply by another matrix. </p>
<p>Calculate and return other*this </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00626">626</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="matrix4_8h_source.html#l01000">irr::core::CMatrix4&lt; T &gt;::isIdentity()</a>.</p>

</div>
</div>
<a class="anchor" id="ae78879a3d7f0113ba5208d5476c3af9c"></a><!-- doxytag: member="irr::core::CMatrix4::operator*=" ref="ae78879a3d7f0113ba5208d5476c3af9c" args="(const T &amp;scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>scalar</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiply by scalar. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00602">602</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac2192a7d9dd89dcd23fe2f9ded3252bf"></a><!-- doxytag: member="irr::core::CMatrix4::operator+" ref="ac2192a7d9dd89dcd23fe2f9ded3252bf" args="(const CMatrix4&lt; T &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add another matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00476">476</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="af91c5be0562ce4be3f8feedd3d017ba1"></a><!-- doxytag: member="irr::core::CMatrix4::operator+=" ref="af91c5be0562ce4be3f8feedd3d017ba1" args="(const CMatrix4&lt; T &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add another matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00502">502</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aee45563e7f9fdf3d4ef7f5a9d63d87c0"></a><!-- doxytag: member="irr::core::CMatrix4::operator&#45;" ref="aee45563e7f9fdf3d4ef7f5a9d63d87c0" args="(const CMatrix4&lt; T &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Subtract another matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00526">526</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a24eb7faa1418765ba87d3f02f27d643f"></a><!-- doxytag: member="irr::core::CMatrix4::operator&#45;=" ref="a24eb7faa1418765ba87d3f02f27d643f" args="(const CMatrix4&lt; T &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Subtract another matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00552">552</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47571eb3acae9a6aa330a03edcea7896"></a><!-- doxytag: member="irr::core::CMatrix4::operator=" ref="a47571eb3acae9a6aa330a03edcea7896" args="(const CMatrix4&lt; T &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets this matrix equal to the other matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01443">1443</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa77c0ec30f4e42f7281392440898e9e3"></a><!-- doxytag: member="irr::core::CMatrix4::operator=" ref="aa77c0ec30f4e42f7281392440898e9e3" args="(const T &amp;scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>scalar</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets all elements of this matrix to the value. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01456">1456</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a81029252a2a83ef4647f5d8a02cf62b5"></a><!-- doxytag: member="irr::core::CMatrix4::operator==" ref="a81029252a2a83ef4647f5d8a02cf62b5" args="(const CMatrix4&lt; T &gt; &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if other matrix is equal to this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01469">1469</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aead4909f8bb2ab40875af175caf0085f"></a><!-- doxytag: member="irr::core::CMatrix4::operator[]" ref="aead4909f8bb2ab40875af175caf0085f" args="(u32 index)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Simple operator for linearly accessing every element of the matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00081">81</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1c7a81521e81280c31b8ae3397d1fffe"></a><!-- doxytag: member="irr::core::CMatrix4::operator[]" ref="a1c7a81521e81280c31b8ae3397d1fffe" args="(u32 index) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T&amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Simple operator for linearly accessing every element of the matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00090">90</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a11a3ffa3eb0987030e7a8758dee8965a"></a><!-- doxytag: member="irr::core::CMatrix4::pointer" ref="a11a3ffa3eb0987030e7a8758dee8965a" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T* <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::pointer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns pointer to internal array. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00099">99</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2d9b231425d1b8abddb9e1e997fbf2ea"></a><!-- doxytag: member="irr::core::CMatrix4::pointer" ref="a2d9b231425d1b8abddb9e1e997fbf2ea" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T* <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::pointer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00100">100</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8abcfbf972b19946c3022db380c6d153"></a><!-- doxytag: member="irr::core::CMatrix4::rotateVect" ref="a8abcfbf972b19946c3022db380c6d153" args="(vector3df &amp;vect) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::rotateVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>vect</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rotate a vector by the rotation part of this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01101">1101</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a592d57581118b651a24dc68b17b99ff6"></a><!-- doxytag: member="irr::core::CMatrix4::rotateVect" ref="a592d57581118b651a24dc68b17b99ff6" args="(core::vector3df &amp;out, const core::vector3df &amp;in) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::rotateVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An alternate transform vector method, writing into a second vector. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01111">1111</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="aa188488f489118e4daafd3b2ebab5119"></a><!-- doxytag: member="irr::core::CMatrix4::rotateVect" ref="aa188488f489118e4daafd3b2ebab5119" args="(T *out, const core::vector3df &amp;in) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::rotateVect </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An alternate transform vector method, writing into an array of 3 floats. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01120">1120</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a8503c58913ba9407ba00b173d8a3e25c"></a><!-- doxytag: member="irr::core::CMatrix4::setbyproduct" ref="a8503c58913ba9407ba00b173d8a3e25c" args="(const CMatrix4&lt; T &gt; &amp;other_a, const CMatrix4&lt; T &gt; &amp;other_b)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setbyproduct </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set this matrix to the product of two matrices </p>
<p>multiply by another matrix</p>
<p>Calculate b*a </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00688">688</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="matrix4_8h_source.html#l01000">irr::core::CMatrix4&lt; T &gt;::isIdentity()</a>.</p>

</div>
</div>
<a class="anchor" id="a526a2a11dcd8b18c9e77deb84094778d"></a><!-- doxytag: member="irr::core::CMatrix4::setbyproduct_nocheck" ref="a526a2a11dcd8b18c9e77deb84094778d" args="(const CMatrix4&lt; T &gt; &amp;other_a, const CMatrix4&lt; T &gt; &amp;other_b)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setbyproduct_nocheck </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set this matrix to the product of two matrices. </p>
<p>multiply by another matrix</p>
<p>Calculate b*a, no optimization used, use it if you know you never have a identity matrix </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00653">653</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a87f7195337a2bf7a49978c2ec1100c0a"></a><!-- doxytag: member="irr::core::CMatrix4::setDefinitelyIdentityMatrix" ref="a87f7195337a2bf7a49978c2ec1100c0a" args="(bool isDefinitelyIdentityMatrix)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setDefinitelyIdentityMatrix </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isDefinitelyIdentityMatrix</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets if the matrix is definitely identity matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02188">2188</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>Referenced by <a class="el" href="quaternion_8h_source.html#l00349">irr::core::quaternion::getMatrix()</a>, and <a class="el" href="quaternion_8h_source.html#l00411">irr::core::quaternion::getMatrix_transposed()</a>.</p>

</div>
</div>
<a class="anchor" id="afd84b9c93b4c8e9dc2abefa4a28057f9"></a><!-- doxytag: member="irr::core::CMatrix4::setInverseRotationDegrees" ref="afd84b9c93b4c8e9dc2abefa4a28057f9" args="(const vector3d&lt; T &gt; &amp;rotation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setInverseRotationDegrees </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make an inverted rotation matrix from Euler angles. </p>
<p>The 4th row and column are unmodified. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00819">819</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00074">irr::core::DEGTORAD</a>.</p>

</div>
</div>
<a class="anchor" id="a1a15d7b55769678512144f0fb7e15a92"></a><!-- doxytag: member="irr::core::CMatrix4::setInverseRotationRadians" ref="a1a15d7b55769678512144f0fb7e15a92" args="(const vector3d&lt; T &gt; &amp;rotation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setInverseRotationRadians </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make an inverted rotation matrix from Euler angles. </p>
<p>Sets matrix to rotation matrix of inverse angles given as parameters.</p>
<p>The 4th row and column are unmodified. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00917">917</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a258e103fcb6ce1564978624280ecb7fe"></a><!-- doxytag: member="irr::core::CMatrix4::setInverseTranslation" ref="a258e103fcb6ce1564978624280ecb7fe" args="(const vector3d&lt; T &gt; &amp;translation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setInverseTranslation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>translation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the inverse translation of the current matrix. Will erase any previous values. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00763">763</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="ae59fb2248865eba3026d13b9756ba1e1"></a><!-- doxytag: member="irr::core::CMatrix4::setM" ref="ae59fb2248865eba3026d13b9756ba1e1" args="(const T *data)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setM </td>
          <td>(</td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets all matrix data members at once. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02175">2175</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2fad61540e78fc7dafe7f6270b0558ac"></a><!-- doxytag: member="irr::core::CMatrix4::setRotationAxisRadians" ref="a2fad61540e78fc7dafe7f6270b0558ac" args="(const T &amp;angle, const vector3d&lt; T &gt; &amp;axis)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setRotationAxisRadians </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>axis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make a rotation matrix from angle and axis, assuming left handed rotation. </p>
<p>Sets matrix to rotation matrix defined by axis and angle, assuming LH rotation.</p>
<p>The 4th row and column are unmodified. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00948">948</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a8117628146ce654b3b292af7c49e25e2"></a><!-- doxytag: member="irr::core::CMatrix4::setRotationCenter" ref="a8117628146ce654b3b292af7c49e25e2" args="(const core::vector3df &amp;center, const core::vector3df &amp;translate)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setRotationCenter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>translate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds a combined matrix which translates to a center before rotation and translates from origin afterwards. </p>
<p>Builds a combined matrix which translate to a center before rotation and translate afterwards.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>Position to rotate around </td></tr>
    <tr><td class="paramname">translate</td><td>Translation applied after the rotation </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02041">2041</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

<p>Referenced by <a class="el" href="quaternion_8h_source.html#l00388">irr::core::quaternion::getMatrixCenter()</a>.</p>

</div>
</div>
<a class="anchor" id="a8ee5ef8619d4b0f56d72ac84495ed644"></a><!-- doxytag: member="irr::core::CMatrix4::setRotationDegrees" ref="a8ee5ef8619d4b0f56d72ac84495ed644" args="(const vector3d&lt; T &gt; &amp;rotation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setRotationDegrees </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make a rotation matrix from Euler angles. The 4th row and column are unmodified. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00813">813</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="irr_math_8h_source.html#l00074">irr::core::DEGTORAD</a>.</p>

<p>Referenced by <a class="el" href="_i_scene_node_8h_source.html#l00204">irr::scene::ISceneNode::getRelativeTransformation()</a>.</p>

</div>
</div>
<a class="anchor" id="a05aac7bd2e7651369fc813a51258afbe"></a><!-- doxytag: member="irr::core::CMatrix4::setRotationRadians" ref="a05aac7bd2e7651369fc813a51258afbe" args="(const vector3d&lt; T &gt; &amp;rotation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setRotationRadians </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make a rotation matrix from Euler angles. The 4th row and column are unmodified. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00825">825</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a47117d44419af87e70084c01ab852049"></a><!-- doxytag: member="irr::core::CMatrix4::setScale" ref="a47117d44419af87e70084c01ab852049" args="(const vector3d&lt; T &gt; &amp;scale)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setScale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>scale</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set Scale. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00775">775</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

<p>Referenced by <a class="el" href="_i_scene_node_8h_source.html#l00204">irr::scene::ISceneNode::getRelativeTransformation()</a>.</p>

</div>
</div>
<a class="anchor" id="a18af980e2bc3575f60576b6d4b4cc0f3"></a><!-- doxytag: member="irr::core::CMatrix4::setScale" ref="a18af980e2bc3575f60576b6d4b4cc0f3" args="(const T scale)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt;T&gt;&amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setScale </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>scale</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set Scale. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00196">196</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="matrix4_8h_source.html#l00196">irr::core::CMatrix4&lt; T &gt;::setScale()</a>.</p>

<p>Referenced by <a class="el" href="matrix4_8h_source.html#l00196">irr::core::CMatrix4&lt; T &gt;::setScale()</a>.</p>

</div>
</div>
<a class="anchor" id="a445a7653292ae4ffb0baa50032a8674e"></a><!-- doxytag: member="irr::core::CMatrix4::setTextureRotationCenter" ref="a445a7653292ae4ffb0baa50032a8674e" args="(f32 radAngle)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTextureRotationCenter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>radAngle</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set texture transformation rotation. </p>
<p>Rotate about z axis, recenter at (0.5,0.5). Doesn't clear other elements than those affected </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">radAngle</td><td>Angle in radians </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Altered matrix </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02101">2101</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aed32a7a8da9c4cee5babe8f6b4aa7dd4"></a><!-- doxytag: member="irr::core::CMatrix4::setTextureScale" ref="aed32a7a8da9c4cee5babe8f6b4aa7dd4" args="(f32 sx, f32 sy)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTextureScale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>sx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>sy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set texture transformation scale. </p>
<p>Doesn't clear other elements than those affected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sx</td><td>Scale factor on x axis </td></tr>
    <tr><td class="paramname">sy</td><td>Scale factor on y axis </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Altered matrix. </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02147">2147</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="adbd668867d117dc9331e68abef0af221"></a><!-- doxytag: member="irr::core::CMatrix4::setTextureScaleCenter" ref="adbd668867d117dc9331e68abef0af221" args="(f32 sx, f32 sy)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTextureScaleCenter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>sx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>sy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set texture transformation scale, and recenter at (0.5,0.5) </p>
<p>Doesn't clear other elements than those affected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sx</td><td>Scale factor on x axis </td></tr>
    <tr><td class="paramname">sy</td><td>Scale factor on y axis </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Altered matrix. </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02159">2159</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2bab9633697a892f08d89c7aeee6daf6"></a><!-- doxytag: member="irr::core::CMatrix4::setTextureTranslate" ref="a2bab9633697a892f08d89c7aeee6daf6" args="(f32 x, f32 y)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTextureTranslate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set texture transformation translation. </p>
<p>Doesn't clear other elements than those affected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Offset on x axis </td></tr>
    <tr><td class="paramname">y</td><td>Offset on y axis </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Altered matrix </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02122">2122</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7d999210cc7427e9d744271e50d26c3c"></a><!-- doxytag: member="irr::core::CMatrix4::setTextureTranslateTransposed" ref="a7d999210cc7427e9d744271e50d26c3c" args="(f32 x, f32 y)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTextureTranslateTransposed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set texture transformation translation, using a transposed representation. </p>
<p>Doesn't clear other elements than those affected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Offset on x axis </td></tr>
    <tr><td class="paramname">y</td><td>Offset on y axis </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Altered matrix </dd></dl>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l02135">2135</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac04a3b341cbfbb7986be682691655622"></a><!-- doxytag: member="irr::core::CMatrix4::setTranslation" ref="ac04a3b341cbfbb7986be682691655622" args="(const vector3d&lt; T &gt; &amp;translation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>&lt; T &gt; &amp; <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::setTranslation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>translation</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the translation of the current matrix. Will erase any previous values. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l00751">751</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

<p>Referenced by <a class="el" href="_i_scene_node_8h_source.html#l00204">irr::scene::ISceneNode::getRelativeTransformation()</a>.</p>

</div>
</div>
<a class="anchor" id="ac12468d698fbf6cd545e8b3fbf2a0042"></a><!-- doxytag: member="irr::core::CMatrix4::transformBox" ref="ac12468d698fbf6cd545e8b3fbf2a0042" args="(core::aabbox3d&lt; f32 &gt; &amp;box) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>box</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms a axis aligned bounding box. </p>
<p>The result box of this operation may not be accurate at all. For correct results, use <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#a87451aea9c07b71d1a8b6091b8cefa63" title="Transforms a axis aligned bounding box.">transformBoxEx()</a> </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01203">1203</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="aabbox3d_8h_source.html#l00320">irr::core::aabbox3d&lt; T &gt;::MaxEdge</a>, <a class="el" href="aabbox3d_8h_source.html#l00317">irr::core::aabbox3d&lt; T &gt;::MinEdge</a>, and <a class="el" href="aabbox3d_8h_source.html#l00172">irr::core::aabbox3d&lt; T &gt;::repair()</a>.</p>

</div>
</div>
<a class="anchor" id="a87451aea9c07b71d1a8b6091b8cefa63"></a><!-- doxytag: member="irr::core::CMatrix4::transformBoxEx" ref="a87451aea9c07b71d1a8b6091b8cefa63" args="(core::aabbox3d&lt; f32 &gt; &amp;box) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformBoxEx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>box</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms a axis aligned bounding box. </p>
<p>Transforms a axis aligned bounding box more accurately than <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac12468d698fbf6cd545e8b3fbf2a0042" title="Transforms a axis aligned bounding box.">transformBox()</a></p>
<p>The result box of this operation should by accurate, but this operation is slower than <a class="el" href="classirr_1_1core_1_1_c_matrix4.html#ac12468d698fbf6cd545e8b3fbf2a0042" title="Transforms a axis aligned bounding box.">transformBox()</a>. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01217">1217</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="aabbox3d_8h_source.html#l00320">irr::core::aabbox3d&lt; T &gt;::MaxEdge</a>, <a class="el" href="aabbox3d_8h_source.html#l00317">irr::core::aabbox3d&lt; T &gt;::MinEdge</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

<p>Referenced by <a class="el" href="_i_scene_node_8h_source.html#l00178">irr::scene::ISceneNode::getTransformedBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="ac4f0d4156d573d8b73eb51dce76e094e"></a><!-- doxytag: member="irr::core::CMatrix4::transformPlane" ref="ac4f0d4156d573d8b73eb51dce76e094e" args="(core::plane3d&lt; f32 &gt; &amp;plane) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformPlane </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>plane</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms a plane by this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01179">1179</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="plane3d_8h_source.html#l00155">irr::core::plane3d&lt; T &gt;::getMemberPoint()</a>, <a class="el" href="plane3d_8h_source.html#l00228">irr::core::plane3d&lt; T &gt;::Normal</a>, and <a class="el" href="plane3d_8h_source.html#l00058">irr::core::plane3d&lt; T &gt;::setPlane()</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00148">irr::scene::SViewFrustum::transform()</a>.</p>

</div>
</div>
<a class="anchor" id="a949042276c2025189cc568c8080d7579"></a><!-- doxytag: member="irr::core::CMatrix4::transformPlane" ref="a949042276c2025189cc568c8080d7579" args="(const core::plane3d&lt; f32 &gt; &amp;in, core::plane3d&lt; f32 &gt; &amp;out) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms a plane by this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01195">1195</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="a82b910d8a4116a7455167dfa62fc4d72"></a><!-- doxytag: member="irr::core::CMatrix4::transformVec3" ref="a82b910d8a4116a7455167dfa62fc4d72" args="(T *out, const T *in) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformVec3 </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An alternate transform vector method, reading from and writing to an array of 3 floats. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01169">1169</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa6bb8b39114749d70e51bd1b90bce0a1"></a><!-- doxytag: member="irr::core::CMatrix4::transformVect" ref="aa6bb8b39114749d70e51bd1b90bce0a1" args="(vector3df &amp;vect) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>vect</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms the vector by this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01137">1137</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

<p>Referenced by <a class="el" href="_s_vertex_manipulator_8h_source.html#l00257">irr::scene::SVertexPositionTransformManipulator::operator()()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">irr::scene::SViewFrustum::transform()</a>.</p>

</div>
</div>
<a class="anchor" id="a7f630ed6811ab36921c2fe6f63f7f426"></a><!-- doxytag: member="irr::core::CMatrix4::transformVect" ref="a7f630ed6811ab36921c2fe6f63f7f426" args="(vector3df &amp;out, const vector3df &amp;in) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transforms input vector by this matrix and stores result in output vector. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01151">1151</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="aad3d6e0c59e2d5709a534abc2b86dbd3"></a><!-- doxytag: member="irr::core::CMatrix4::transformVect" ref="aad3d6e0c59e2d5709a534abc2b86dbd3" args="(T *out, const core::vector3df &amp;in) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::transformVect </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An alternate transform vector method, writing into an array of 4 floats. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01160">1160</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<a class="anchor" id="a587cb77fd7de7a13771c96a90c4f3de0"></a><!-- doxytag: member="irr::core::CMatrix4::translateVect" ref="a587cb77fd7de7a13771c96a90c4f3de0" args="(vector3df &amp;vect) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">irr::core::CMatrix4</a>&lt; T &gt;::translateVect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>vect</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Translate a vector by the translation part of this matrix. </p>

<p>Definition at line <a class="el" href="matrix4_8h_source.html#l01298">1298</a> of file <a class="el" href="matrix4_8h_source.html">matrix4.h</a>.</p>

<p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d&lt; T &gt;::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d&lt; T &gt;::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d&lt; T &gt;::Z</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="matrix4_8h_source.html">matrix4.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceirr.html">irr</a>      </li>
      <li class="navelem"><a class="el" href="namespaceirr_1_1core.html">core</a>      </li>
      <li class="navelem"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">CMatrix4</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Tue Jan 19 2016 16:08:49 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
